<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>
<head>
<title>Register User</title>
</head>
<body>
<table width="100%" border="0" align="center">
	<tr>
		<td><!-- write Form  -->
		<form:form commandName="user" action="/simplewiki/registeruser.do">
			<table border="0" cellpadding="0" cellspacing="1" width="100%" bgcolor="BBBBBB">
				<tr>
					<td width="20%" align=center bgcolor="E6ECDE" height="22">Userid</td>
					<td width="80%" bgcolor=FFFFFF style="padding-left: 10">
						<form:input path="id" cssStyle="width:100%" />
					</td>
					<td><form:errors path="id" /></td>
				</tr>
				<tr>
					<td width="20%" align=center bgcolor="E6ECDE" height="22">Password</td>
					<td width="80%" bgcolor=FFFFFF style="padding-left: 10">
						<form:password path="password" cssStyle="width:100%" />
					</td>
					<td><form:errors path="password" /></td>
				</tr>
				<tr>
					<td width="20%" align=center bgcolor="E6ECDE" height="22">Confirm</td>
					<td width="80%" bgcolor=FFFFFF style="padding-left: 10">
						<form:password path="confirm" cssStyle="width:100%" />
					</td>
					<td><form:errors path="confirm" /></td>
				</tr>
				<tr>
					<td width="20%" align=center bgcolor="E6ECDE" height="22">Full Name</td>
					<td width="80%" bgcolor=FFFFFF style="padding-left: 10">
						<form:input path="name" cssStyle="width:100%" />
					</td>
					<td><form:errors path="name" /></td>
				</tr>
				<tr>
					<td width="20%" align=center bgcolor="E6ECDE" height="22">Email</td>
					<td width="80%" bgcolor=FFFFFF style="padding-left: 10">
						<form:input path="email" cssStyle="width:100%" />
					</td>
					<td><form:errors path="email" /></td>
				</tr>
				<tr>
		            <td colspan="2" align="center">
		                <input type="submit" value="Register User" />
		            </td>
		        </tr>
			</table>
		</form:form>
		</td>
	</tr>
</table>
</body>
</html>